package cn.kgc.tcst004.dao;

import cn.kgc.tcst004.pojo.Blog;


import java.sql.SQLException;
import java.util.List;

public interface BlogMapper {
    List<Blog> getBlogs();
    /**
     * 添加微博内容
     * @param blog
     * @return
     * @throws SQLException
     */
    int insert(Blog blog) throws SQLException;
}